package com.scm.persist.mybatis;

import com.scm.persist.model.ScmInventoryOut;
import com.scm.persist.model.ScmInventoryOutExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmInventoryOutMapper {
    int countByExample(ScmInventoryOutExample example);

    int deleteByExample(ScmInventoryOutExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmInventoryOut record);

    int insertSelective(ScmInventoryOut record);

    List<ScmInventoryOut> selectByExampleWithRowbounds(ScmInventoryOutExample example, RowBounds rowBounds);

    List<ScmInventoryOut> selectByExample(ScmInventoryOutExample example);

    ScmInventoryOut selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmInventoryOut record, @Param("example") ScmInventoryOutExample example);

    int updateByExample(@Param("record") ScmInventoryOut record, @Param("example") ScmInventoryOutExample example);

    int updateByPrimaryKeySelective(ScmInventoryOut record);

    int updateByPrimaryKey(ScmInventoryOut record);
}